<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script src="../js/vue.js"></script>
    <style>
        li {
            list-style: none;
        }
    </style>
</head>

<body>
    <div id="root">

        <div>
            <h2>{}}</h2>
        </div>
    </div>

    <script>

        // 用computed实现
        new Vue({
            el: '#root',
            data: {
             name:'越'
            }
        

        })
    </script>
</body>

</html>